- 
		Home
	
 
	- 
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
 
- 
2.6.1
 
- 
Code
 
- 
Classes
 
-  Block_Conditions 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											70 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											405 | 
										
																			
											| Lines of code | 
											224 | 
										
																			
											| Logical lines of code | 
											133 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											119 | 
										
																			
											| Methods | 
											15 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 15
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| evaluate_condition() | 
									C  | 
																	39 | 
													24 | 
													69 | 
							
					
				| should_add_hide_css_class() | 
									A  | 
																	45 | 
													10 | 
													42 | 
							
					
				| evaluate_condition_collection() | 
									S  | 
																	55 | 
													7 | 
													22 | 
							
					
				| render_blocks() | 
									S  | 
																	59 | 
													7 | 
													13 | 
							
					
				| get_hide_css_condition() | 
									S  | 
																	60 | 
													6 | 
													13 | 
							
					
				| has_user_roles() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| init() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| add_attributes_to_blocks() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| has_author() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| instance() | 
									S  | 
																	70 | 
													2 | 
													7 | 
							
					
				| is_type() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| has_category() | 
									S  | 
																	65 | 
													1 | 
													10 | 
							
					
				| has_stripe_product() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| __clone() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| __wakeup() | 
									S  | 
																	78 | 
													1 | 
													3 |